//
//  JwHoldViewController.m
//  JwPack
//
//  Created by 陈警卫 on 2024-08-23.
//

#import "JwHoldViewController.h"

@interface JwHoldViewController ()

@end

@implementation JwHoldViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
}

- (IBAction)holdAction:(id)sender {
    
    [self.view jw_setupHoldViewWithText:@"Text" btnText:@"Sure"];
    [JwDispatch after_main:3.0 comp:^{
        [self.view jw_removeHoldView];
    }];
}

- (IBAction)holdText:(id)sender {
    
    [self.view jw_setupHoldViewWithText:@"Text"];
    [JwDispatch after_main:3.0 comp:^{
        [self.view jw_removeHoldView];
    }];
}

- (IBAction)holdTextBtn:(id)sender {
    
    [self.view jw_setupHoldViewWithBtnText:@"Sure"];
    [JwDispatch after_main:3.0 comp:^{
        [self.view jw_removeHoldView];
    }];
}





@end
